
<!DOCTYPE HTML>
<html lang="zh" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>QNBleApi · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="QNBleApi.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="輸入並搜尋" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../guide/android.html">
            
                <a href="../guide/android.html">
            
                    
                    android
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../guide/ios.html">
            
                <a href="../guide/ios.html">
            
                    
                    ios
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    工作流程
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../flow/ble_scale.html">
            
                <a href="../flow/ble_scale.html">
            
                    
                    普通蓝牙秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../flow/ble_scale_custom_connect.html">
            
                <a href="../flow/ble_scale_custom_connect.html">
            
                    
                    普通蓝牙秤-自主管理蓝牙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../flow/kitchen_scale.html">
            
                <a href="../flow/kitchen_scale.html">
            
                    
                    厨房秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../flow/ble_user_scale.html">
            
                <a href="../flow/ble_user_scale.html">
            
                    
                    用户秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../flow/ble_ruler.html">
            
                <a href="../flow/ble_ruler.html">
            
                    
                    蓝牙围度尺
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    API
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.5.1" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html">
            
                    
                    QNBleApi
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#initsdk">
            
                    
                    initSdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.2" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#getcursystemblestate">
            
                    
                    getCurSystemBleState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.3" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setsysblestatelistener">
            
                    
                    setSysBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.4" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setbledevicediscoverylistener">
            
                    
                    setBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.5" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setbleconnectionchangelistener">
            
                    
                    setBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.6" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setdataListener">
            
                    
                    setDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.7" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setblekitchenlistener">
            
                    
                    setBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.8" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setloglistener">
            
                    
                    setLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.9" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#startbledevicediscovery">
            
                    
                    startBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.10" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#stopbledevicediscovery">
            
                    
                    stopBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.11" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#connectdevice">
            
                    
                    connectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.12" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#connectuserscaledevice">
            
                    
                    connectUserScaleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.13" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#connectblekitchendevice">
            
                    
                    connectBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.14" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setblekitchendeviceconfig">
            
                    
                    setBleKitchenDeviceConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.15" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#disconnectdevice">
            
                    
                    disconnectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.16" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#getconfig">
            
                    
                    getConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.17" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#convertweightwithtargetunit">
            
                    
                    convertWeightWithTargetUnit
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.18" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#builddevice">
            
                    
                    buildDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.19" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#buildprotocolhandler">
            
                    
                    buildProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.20" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#generatescaledata">
            
                    
                    generateScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.21" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#physiquecalculation">
            
                    
                    physiqueCalculation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.22" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#switchuserscaleuser">
            
                    
                    switchUserScaleUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.23" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#updateuserscaleidentifyweight">
            
                    
                    updateUserScaleIdentifyWeight
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.24" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#deletescaleusers">
            
                    
                    deleteScaleUsers
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.25" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#setblerulerlistener">
            
                    
                    setBleRulerListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.26" data-path="QNBleApi.html">
            
                <a href="QNBleApi.html#connectrulerdevice">
            
                    
                    connectRulerDevice
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="QNUser.html">
            
                <a href="QNUser.html">
            
                    
                    QNUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="QNScaleData.html">
            
                <a href="QNScaleData.html">
            
                    
                    QNScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="QNScaleStoreData.html">
            
                <a href="QNScaleStoreData.html">
            
                    
                    QNScaleStoreData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="QNScaleItemData.html">
            
                <a href="QNScaleItemData.html">
            
                    
                    QNScaleItemData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="QNBleDevice.html">
            
                <a href="QNBleDevice.html">
            
                    
                    QNBleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="QNBleBroadcastDevice.html">
            
                <a href="QNBleBroadcastDevice.html">
            
                    
                    QNBleBroadcastDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="QNBleKitchenDevice.html">
            
                <a href="QNBleKitchenDevice.html">
            
                    
                    QNBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="QNConfig.html">
            
                <a href="QNConfig.html">
            
                    
                    QNConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="QNWiFiConfig.html">
            
                <a href="QNWiFiConfig.html">
            
                    
                    QNWiFiConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="QNUserScaleConfig.html">
            
                <a href="QNUserScaleConfig.html">
            
                    
                    QNUserScaleConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="QNBleKitchenConfig.html">
            
                <a href="QNBleKitchenConfig.html">
            
                    
                    QNBleKitchenConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="QNBleStateListener.html">
            
                <a href="QNBleStateListener.html">
            
                    
                    QNBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="QNBleDeviceDiscoveryListener.html">
            
                <a href="QNBleDeviceDiscoveryListener.html">
            
                    
                    QNBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="QNBleConnectionChangeListener.html">
            
                <a href="QNBleConnectionChangeListener.html">
            
                    
                    QNBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="QNScaleDataListener.html">
            
                <a href="QNScaleDataListener.html">
            
                    
                    QNScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="QNUserScaleDataListener.html">
            
                <a href="QNUserScaleDataListener.html">
            
                    
                    QNUserScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="QNBleKitchenListener.html">
            
                <a href="QNBleKitchenListener.html">
            
                    
                    QNBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="QNLogListener.html">
            
                <a href="QNLogListener.html">
            
                    
                    QNLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="QNResultCallback.html">
            
                <a href="QNResultCallback.html">
            
                    
                    QNResultCallback
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="QNShareData.html">
            
                <a href="QNShareData.html">
            
                    
                    QNShareData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.22" data-path="QNUtils.html">
            
                <a href="QNUtils.html">
            
                    
                    QNUtils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.23" data-path="QNBleProtocolHandler.html">
            
                <a href="QNBleProtocolHandler.html">
            
                    
                    QNBleProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.24" data-path="QNBleProtocolDelegate.html">
            
                <a href="QNBleProtocolDelegate.html">
            
                    
                    QNBleProtocolDelegate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.25" data-path="QNWspScaleDataListener.html">
            
                <a href="QNWspScaleDataListener.html">
            
                    
                    QNWspScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.26" data-path="QNBleRulerDevice.html">
            
                <a href="QNBleRulerDevice.html">
            
                    
                    QNBleRulerDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.27" data-path="QNBleRulerData.html">
            
                <a href="QNBleRulerData.html">
            
                    
                    QNBleRulerData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.28" data-path="QNBleRulerListener.html">
            
                <a href="QNBleRulerListener.html">
            
                    
                    QNBleRulerListener
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    附表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../attouched_list/faq.html">
            
                <a href="../attouched_list/faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../attouched_list/body_indexes.html">
            
                <a href="../attouched_list/body_indexes.html">
            
                    
                    身体指标常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../attouched_list/device_type.html">
            
                <a href="../attouched_list/device_type.html">
            
                    
                    设备类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../attouched_list/display_module_type.html">
            
                <a href="../attouched_list/display_module_type.html">
            
                    
                    显示模块类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../attouched_list/body_shape.html">
            
                <a href="../attouched_list/body_shape.html">
            
                    
                    体型对照表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../attouched_list/error_code.html">
            
                <a href="../attouched_list/error_code.html">
            
                    
                    错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../attouched_list/scan_error.html">
            
                <a href="../attouched_list/scan_error.html">
            
                    
                    扫描错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../attouched_list/scale_state.html">
            
                <a href="../attouched_list/scale_state.html">
            
                    
                    秤状态定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../attouched_list/scale_event.html">
            
                <a href="../attouched_list/scale_event.html">
            
                    
                    秤事件定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="../attouched_list/area_type.html">
            
                <a href="../attouched_list/area_type.html">
            
                    
                    区域类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="../attouched_list/test_list.html">
            
                <a href="../attouched_list/test_list.html">
            
                    
                    测试用例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.12" data-path="../attouched_list/policy.html">
            
                <a href="../attouched_list/policy.html">
            
                    
                    隐私协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.13" data-path="../history/history.html">
            
                <a href="../history/history.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本書使用 GitBook 釋出
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >QNBleApi</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="qnbleapi">QNBleApi</h1>
<p>&#x5165;&#x53E3;&#x7C7B;</p>
<h2 id="&#x65B9;&#x6CD5;">&#x65B9;&#x6CD5;</h2>
<h3 id="initsdk">initSdk</h3>
<p>&#x6839;&#x636E; appid &#x521D;&#x59CB;&#x5316; SDK&#xFF0C;&#x6821;&#x9A8C; appid &#x4E0E;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x3002;&#x8BE5;&#x65B9;&#x6CD5;&#x4E5F;&#x4F1A;&#x52A0;&#x8F7D;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x76F8;&#x5173;&#x914D;&#x7F6E;&#x3002;</p>
<p>&#x8BE5;&#x65B9;&#x6CD5;&#x53EA;&#x9700;&#x8C03;&#x7528;&#x4E00;&#x6B21;&#x5373;&#x53EF;&#xFF0C;&#x4E0D;&#x8981;&#x591A;&#x6B21;&#x8C03;&#x7528;&#x3002;&#x5EFA;&#x8BAE;&#x5B89;&#x5353;&#x653E;&#x5728; Application.onCreate &#x4E2D;&#x8C03;&#x7528;&#xFF0C;iOS &#x653E;&#x5728; AppDelegate &#x4E0B; didFinishLaunchingWithOptions &#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x8C03;&#x7528;&#x3002;&#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x53EA;&#x6267;&#x884C;&#x4E86;&#x8F7B;&#x91CF;&#x7EA7;&#x64CD;&#x4F5C;&#xFF0C;&#x8017;&#x65F6;&#x64CD;&#x4F5C;&#x90FD;&#x662F;&#x5F02;&#x6B65;&#x6267;&#x884C;&#xFF0C;&#x5E76;&#x4E0D;&#x4F1A;&#x5F71;&#x54CD; APP &#x7684;&#x542F;&#x52A8;&#x901F;&#x5EA6;&#x3002;</p>
<p>&#x901A;&#x5E38;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x8BE5;&#x65B9;&#x6CD5;&#x4F1A;&#x53D1;&#x9001;&#x4E00;&#x4E2A;&#x8BF7;&#x6C42;&#x5230;&#x6211;&#x53F8;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x7528;&#x4EE5;&#x66F4;&#x65B0;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x914D;&#x7F6E;&#xFF0C;&#x6BD4;&#x5982;&#x66F4;&#x65B0;&#x7B97;&#x6CD5;&#xFF0C;&#x66F4;&#x65B0;&#x6307;&#x6807;&#xFF0C;&#x589E;&#x52A0;&#x65B0;&#x578B;&#x53F7;&#x7B49;&#x3002;&#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x8FBE;&#x5230;&#x5728;&#x7EBF;&#x5347;&#x7EA7;&#x914D;&#x7F6E;&#x7684;&#x6548;&#x679C;&#x3002;&#x5982;&#x679C;&#x660E;&#x786E;&#x4E0D;&#x5E0C;&#x671B;&#x6709;&#x6B64;&#x7279;&#x6027;&#xFF0C;&#x53EF;&#x4EE5;&#x8DDF;&#x6211;&#x53F8;&#x5546;&#x52A1;&#x6C9F;&#x901A;&#x5173;&#x95ED;&#x8BE5;&#x529F;&#x80FD;&#xFF08;&#x5373; SDK &#x6539;&#x4E3A;&#x79BB;&#x7EBF;&#x6A21;&#x5F0F;&#xFF09;&#x3002;&#x53E6;&#x5916;&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x7F51;&#x7EDC;&#xFF0C;&#x8BE5;&#x8BF7;&#x6C42;&#x5931;&#x8D25;&#x540E;&#xFF0C;&#x4E5F;&#x4E0D;&#x4F1A;&#x6709;&#x5F71;&#x54CD;&#xFF0C;SDK &#x4F1A;&#x7EE7;&#x7EED;&#x6CBF;&#x7528;&#x4E0A;&#x4E00;&#x6B21;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<blockquote>
<p>&#x6CE8;&#x610F;&#xFF1A; demo &#x4E2D;&#x7684; <code>123456789</code> appid &#x4E3A;&#x6D4B;&#x8BD5; id, &#x6D4B;&#x8BD5; id &#x5177;&#x6709;&#x4E0D;&#x7A33;&#x5B9A;&#x6027;&#x4E0E;&#x968F;&#x673A;&#x53D8;&#x5316;&#x6027;&#x3002;&#x63A5;&#x5165;&#x5546;&#x4E0E;Yolanda&#x8FBE;&#x6210;&#x534F;&#x8BAE;&#x540E;&#x53EF;&#x4EE5;&#x83B7;&#x53D6;&#x72EC;&#x7ACB;&#x7A33;&#x5B9A;&#x7684; appid&#x3002;&#x5207;&#x8BB0;&#x6D4B;&#x8BD5; Id &#x4E0D;&#x53EF;&#x7528;&#x4E8E;&#x4E0A;&#x7EBF;&#x5E94;&#x7528;&#x5E02;&#x573A;</p>
</blockquote>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">appId</td>
<td style="text-align:left">String</td>
<td style="text-align:left">&#x516C;&#x53F8;&#x63D0;&#x4F9B;&#x7ED9;&#x5BA2;&#x6237;&#x7684; app_id&#xFF0C;&#x901A;&#x8FC7;&#x672C;&#x5730;&#x521D;&#x59CB;&#x5316;&#x6570;&#x636E;&#x5305;&#x8FDB;&#x884C;&#x6821;&#x9A8C;&#xFF0C;&#x5B89;&#x5353; iOS &#x5171;&#x7528;&#x540C;&#x4E00;&#x4E2A; appid</td>
</tr>
<tr>
<td style="text-align:left">firstDataFile</td>
<td style="text-align:left">String</td>
<td style="text-align:left">&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7684;&#x6587;&#x4EF6;&#x8DEF;&#x5F84;&#xFF0C;&#x53EF;&#x4EE5;&#x4F20; uri &#x7684;&#x5F62;&#x5F0F;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x4F20;&#x8BE5;&#x6587;&#x4EF6;&#x7684;&#x5168;&#x8DEF;&#x5F84;&#xFF0C;&#x8BE5;&#x6587;&#x4EF6;&#x5305;&#x542B;&#x4E86;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x5B89;&#x5353;&#x662F;&#x63A5;&#x53E3;&#xFF0C;IOS &#x7528; block &#x6216;&#x95ED;&#x5305;&#xFF09;&#x56DE;&#x8C03;&#x65B9;&#x6CD5;&#xFF0C;&#x8FD4;&#x56DE;&#x521D;&#x59CB;&#x5316;&#x7684;&#x7ED3;&#x679C;&#xFF0C;&#x9519;&#x8BEF;&#x7801;&#x53C2;&#x8003;&#x9644;&#x8868;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="getcursystemblestate">getCurSystemBleState</h3>
<p>&#x83B7;&#x53D6;&#x5F53;&#x524D;&#x7CFB;&#x7EDF;&#x84DD;&#x7259;&#x72B6;&#x6001;</p>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B;&#xFF1A;int</p>
<p><a href="QNBleStateListener.html">&#x5F53;&#x524D;&#x7CFB;&#x7EDF;&#x84DD;&#x7259;&#x72B6;&#x6001;</a></p>
<h3 id="setsysblestatelistener">setSysBleStateListener</h3>
<p>&#x8BBE;&#x7F6E;&#x7CFB;&#x7EDF;&#x84DD;&#x7259;&#x72B6;&#x6001;&#x56DE;&#x8C03;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNBleStateListener.html">QNBleStateListener</a></td>
<td style="text-align:left">&#x76D1;&#x542C;&#x5668;&#xFF0C;&#x5305;&#x542B;&#x4E00;&#x4E2A;&#x65B9;&#x6CD5;,&#x76D1;&#x542C;&#x7CFB;&#x7EDF;&#x84DD;&#x7259;&#x72B6;&#x6001;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="setbledevicediscoverylistener">setBleDeviceDiscoveryListener</h3>
<p>&#x8BBE;&#x7F6E;&#x626B;&#x63CF;&#x56DE;&#x8C03;&#x5BF9;&#x8C61;&#xFF0C;&#x6709;&#x626B;&#x63CF;&#x7ED3;&#x679C;&#x65F6;&#xFF0C;&#x4F1A;&#x5728;&#x8BBE;&#x7F6E;&#x7684;&#x76D1;&#x542C;&#x65B9;&#x6CD5;&#x4E2D;&#x8FD4;&#x56DE;&#xFF0C;SDK &#x53EA;&#x652F;&#x6301;&#x4E00;&#x4E2A;&#x56DE;&#x8C03;&#x5BF9;&#x8C61;&#xFF0C;&#x91CD;&#x590D;&#x8BBE;&#x7F6E;&#x4F1A;&#x8986;&#x76D6;&#x4E4B;&#x524D;&#x7684;&#x7ED3;&#x679C;&#x3002;&#x4E0D;&#x9700;&#x8981;&#x4F7F;&#x7528;&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x4E3A; null&#xFF0C;&#x5426;&#x5219;&#x53EF;&#x80FD;&#x51FA;&#x73B0;&#x5185;&#x5B58;&#x6CC4;&#x9732;&#x3002;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNBleDeviceDiscoveryListener.html">QNBleDeviceDiscoveryListener</a></td>
<td style="text-align:left">&#x76D1;&#x542C;&#x5668;&#xFF0C;&#x5305;&#x542B;&#x4E00;&#x4E2A;&#x65B9;&#x6CD5;,&#x626B;&#x63CF;&#x5230;&#x8BBE;&#x5907;&#x65F6;&#x4F1A;&#x5728;&#x8FD9;&#x4E2A;&#x5BF9;&#x8C61;&#x4E2D;&#x8FDB;&#x884C;&#x56DE;&#x8C03;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="setbleconnectionchangelistener">setBleConnectionChangeListener</h3>
<p>&#x8BBE;&#x7F6E;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#x53D8;&#x5316;&#x76D1;&#x542C;&#x5668;&#xFF0C;SDK &#x53EA;&#x652F;&#x6301;&#x4E00;&#x4E2A;&#x56DE;&#x8C03;&#x5BF9;&#x8C61;&#xFF0C;&#x91CD;&#x590D;&#x8BBE;&#x7F6E;&#x4F1A;&#x8986;&#x76D6;&#x4E4B;&#x524D;&#x7684;&#x7ED3;&#x679C;&#x3002;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNBleConnectionChangeListener.html">QNBleConnectionChangeListener</a></td>
<td style="text-align:left">&#x8FDE;&#x63A5;&#x53D8;&#x5316;&#x76D1;&#x542C;&#x5668;</td>
</tr>
</tbody>
</table>
<h3 id="setdatalistener">setDataListener</h3>
<p>&#x8BBE;&#x7F6E;&#x6570;&#x636E;&#x4F20;&#x8F93;&#x76D1;&#x542C;&#x5668;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNScaleDataListener.html">QNScaleDataListener</a> &#x6216; <a href="QNUserScaleDataListener.html">QNUserScaleDataListener</a>)</td>
<td style="text-align:left">&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x76D1;&#x542C;&#x63A5;&#x53E3;&#xFF0C;&#x6240;&#x6709;&#x6570;&#x636E;&#x90FD;&#x4F1A;&#x5728;&#x91CC;&#x9762;&#x56DE;&#x8C03;</td>
</tr>
</tbody>
</table>
<h3 id="setblekitchenlistener">setBleKitchenListener</h3>
<p>&#x8BBE;&#x7F6E;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x76D1;&#x542C;&#x5668;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNBleKitchenListener.html">QNBleKitchenListener</a></td>
<td style="text-align:left">&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x76D1;&#x542C;&#x5668;</td>
</tr>
</tbody>
</table>
<h3 id="setloglistener">setLogListener</h3>
<p>&#x8BBE;&#x7F6E;&#x65E5;&#x5FD7;&#x4FE1;&#x606F;&#x7684;&#x76D1;&#x542C;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNLogListener.html">QNLogListener</a></td>
<td style="text-align:left">&#x65E5;&#x5FD7;&#x4FE1;&#x606F;&#x7684;&#x76D1;&#x542C;</td>
</tr>
</tbody>
</table>
<h3 id="startbledevicediscovery">startBleDeviceDiscovery</h3>
<p>&#x5F00;&#x59CB;&#x626B;&#x63CF;&#x84DD;&#x7259;&#x8BBE;&#x5907;&#xFF0C;&#x53EA;&#x8FD4;Yolanda&#x7684;&#x8BBE;&#x5907;&#x3002;&#x9047;&#x5230;&#x9519;&#x8BEF;&#x6216;&#x84DD;&#x7259;&#x5173;&#x95ED;&#x5219;&#x81EA;&#x52A8;&#x505C;&#x6B62;&#x3002;</p>
<p>&#x626B;&#x63CF;&#x7ED3;&#x679C;&#x5728; <a href="QNBleDeviceDiscoveryListener.html">QNBleDeviceDiscoveryListener</a> &#x4E2D;&#x56DE;&#x8C03;</p>
<p>&#x626B;&#x63CF;&#x7684;&#x4E00;&#x4E9B;&#x914D;&#x7F6E;&#x884C;&#x4E3A;&#x8BF7;&#x53C2;&#x8003;<a href="#getconfig">getConfig</a> &#x548C; <a href="QNConfig.html">QNConfig</a></p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x56DE;&#x8C03;&#x5BF9;&#x8C61;&#xFF0C;&#x8FD4;&#x56DE;&#x6B64;&#x6B21;&#x8C03;&#x7528;&#x542F;&#x52A8;&#x626B;&#x63CF;&#x662F;&#x5426;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h3 id="stopbledevicediscovery">stopBleDeviceDiscovery</h3>
<p>&#x505C;&#x6B62;&#x626B;&#x63CF;&#x84DD;&#x7259;&#x8BBE;&#x5907;&#xFF0C;&#x8BE5;&#x65B9;&#x6CD5;&#x8C03;&#x7528;&#x7CFB;&#x7EDF;&#x7684;&#x505C;&#x6B62;&#x626B;&#x63CF;&#x65B9;&#x6CD5;&#xFF0C;&#x5982;&#x679C;&#x672A;&#x542F;&#x52A8;&#x626B;&#x63CF;&#xFF0C;&#x4E5F;&#x9700;&#x8981;&#x8C03;&#x7528;&#x4E0B;&#x505C;&#x6B62;&#x626B;&#x63CF;&#xFF0C;&#x4FDD;&#x8BC1;&#x8C03;&#x7528;&#x8BE5;&#x65B9;&#x6CD5;&#x540E;&#xFF0C;&#x4E0D;&#x4F1A;&#x518D;&#x6709;&#x626B;&#x63CF;&#x5BF9;&#x8C61;&#x56DE;&#x8C03;&#x3002;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x56DE;&#x8C03;&#x5BF9;&#x8C61;&#xFF0C;&#x8FD4;&#x56DE;&#x6B64;&#x6B21;&#x8C03;&#x7528;&#x505C;&#x6B62;&#x626B;&#x63CF;&#x662F;&#x5426;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h3 id="connectdevice">connectDevice</h3>
<p>&#x8FDE;&#x63A5;Yolanda&#x84DD;&#x7259;&#x8BBE;&#x5907;&#x3002;&#x8FDE;&#x63A5;&#x7684;&#x8FC7;&#x7A0B;&#xFF0C;&#x4F1A;&#x5728; <a href="QNBleConnectionChangeListener.html">QNBleConnectionChangeListener</a> &#x4E2D;&#x56DE;&#x8C03;&#xFF0C;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x4F1A;&#x5728; QNScaleDataListener &#x8FDB;&#x884C;&#x56DE;&#x8C03;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left"><a href="QNBleDevice.html">QNBleDevice</a></td>
<td style="text-align:left">&#x9700;&#x8981;&#x8FDE;&#x63A5;&#x7684;&#x84DD;&#x7259;&#x8BBE;&#x5907;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">user</td>
<td style="text-align:left"><a href="QNUser.html">QNUser</a></td>
<td style="text-align:left">&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x65F6;&#xFF0C;&#x4F7F;&#x7528;&#x7684;&#x7528;&#x6237;&#x6A21;&#x578B;&#xFF0C;&#x5305;&#x542B;&#x4E86; userId,&#x548C;&#x7528;&#x6237;&#x8D44;&#x6599;&#x3002;&#x7531; <a href="#builduser">buildUser</a> &#x521B;&#x5EFA;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x8FDE;&#x63A5;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;&#xFF08;&#x5E76;&#x975E;&#x662F;&#x8FDE;&#x63A5;&#x6210;&#x529F;&#xFF09;</td>
</tr>
</tbody>
</table>
<h3 id="connectuserscaledevice">connectUserScaleDevice</h3>
<p>&#x8FDE;&#x63A5;Yolanda  &#x7528;&#x6237;&#x79E4;&#x8BBE;&#x5907;&#x3002;&#x8FDE;&#x63A5;&#x7684;&#x8FC7;&#x7A0B;&#xFF0C;&#x4F1A;&#x5728; <a href="QNBleConnectionChangeListener.html">QNBleConnectionChangeListener</a> &#x4E2D;&#x56DE;&#x8C03;&#xFF0C;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x4F1A;&#x5728; QNScaleDataListener &#x8FDB;&#x884C;&#x56DE;&#x8C03;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left"><a href="QNBleDevice.html">QNBleDevice</a></td>
<td style="text-align:left">&#x9700;&#x8981;&#x8FDE;&#x63A5;&#x7684;&#x84DD;&#x7259;&#x8BBE;&#x5907;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">config</td>
<td style="text-align:left"><a href="QNUserScaleConfig.html">QNUserScaleConfig</a></td>
<td style="text-align:left">&#x8FDE;&#x63A5;&#x7528;&#x6237;&#x79E4;&#x8BBE;&#x5907;&#x65F6;&#x7684;&#x914D;&#x7F6E;&#x9879;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x8FDE;&#x63A5;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;&#xFF08;&#x5E76;&#x975E;&#x662F;&#x8FDE;&#x63A5;&#x6210;&#x529F;&#xFF09;</td>
</tr>
</tbody>
</table>
<h3 id="connectblekitchendevice">connectBleKitchenDevice</h3>
<p>&#x94FE;&#x63A5;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;, &#x8BE5;&#x8BBE;&#x5907;&#x5BF9;&#x8C61;&#x5FC5;&#x987B;&#x662F;&#x641C;&#x7D22;&#x8FD4;&#x56DE;&#x7684;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x8BBE;&#x5907;&#x5BF9;&#x8C61;, &#x94FE;&#x63A5;&#x65B9;&#x6CD5;&#x53EA;&#x9488;&#x5BF9;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x6709;&#x6548;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left"><a href="QNBleKitchenDevice.html">QNBleKitchenDevice</a></td>
<td style="text-align:left">&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x8BBE;&#x5907;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x94FE;&#x63A5;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h3 id="setblekitchendeviceconfig">setBleKitchenDeviceConfig</h3>
<p>&#x8BBE;&#x7F6E;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x79E4;&#x7AEF;&#x914D;&#x7F6E;&#x4FE1;&#x606F;, &#x5728;SDK&#x4E0E;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x4FDD;&#x6301;&#x94FE;&#x63A5;&#x72B6;&#x6001;&#x4E0B;&#x8BBE;&#x7F6E;&#x6709;&#x6548;&#x3002;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">config</td>
<td style="text-align:left"><a href="QNBleKitchenConfig.html">QNBleKitchenConfig</a></td>
<td style="text-align:left">&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x8BBE;&#x7F6E;&#x4FE1;&#x606F;</td>
</tr>
</tbody>
</table>
<h3 id="disconnectdevice">disconnectDevice</h3>
<p>&#x65AD;&#x5F00;&#x5DF2;&#x8FDE;&#x63A5;&#x7684;Yolanda&#x84DD;&#x7259;&#x8BBE;&#x5907;&#x3002;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;&#x7684;&#x8FC7;&#x7A0B;&#xFF0C;&#x4F1A;&#x5728; <a href="QNBleConnectionChangeListener.html">QNBleConnectionChangeListener</a> &#x4E2D;&#x56DE;&#x8C03;
&#x65AD;&#x5F00;&#x5DF2;&#x8FDE;&#x63A5;&#x7684;&#x84DD;&#x7259;&#x53A8;&#x623F;&#x79E4;&#x8BBE;&#x5907;&#x3002;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;&#x7684;&#x8FC7;&#x7A0B;&#xFF0C;&#x4F1A;&#x5728; <a href="QNBleKitchenListener.html">QNBleKitchenListener</a> &#x4E2D;&#x56DE;&#x8C03;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device/mac</td>
<td style="text-align:left"><a href="QNBleDevice.html">QNBleDevice</a>/String</td>
<td style="text-align:left">&#x9700;&#x8981;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;&#x7684;&#x84DD;&#x7259;&#x8BBE;&#x5907;&#x6216; mac &#x5730;&#x5740;&#xFF0C;&#x8FD9;&#x4E24;&#x4E2A;&#x53C2;&#x6570;&#x53EA;&#x8981;&#x7A7F;&#x4E00;&#x4E2A;&#x5373;&#x53EF;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x8FDE;&#x63A5;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;&#xFF08;&#x5E76;&#x975E;&#x662F;&#x8FDE;&#x63A5;&#x6210;&#x529F;&#xFF09;</td>
</tr>
</tbody>
</table>
<h3 id="getconfig">getConfig</h3>
<p>&#x83B7;&#x53D6; SDK &#x7684;&#x5F53;&#x524D;&#x8BBE;&#x7F6E;&#x60C5;&#x51B5;</p>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B;: <a href="QNConfig.html">QNConfig</a></p>
<p>SDK &#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#xFF0C;&#x5176;&#x4E2D;&#x7684;&#x8BBE;&#x7F6E;&#x65B9;&#x5F0F;&#xFF0C;&#x4E5F;&#x662F;&#x901A;&#x8FC7; <a href="QNConfig.html">QNConfig</a> &#x5B8C;&#x6210;</p>
<h3 id="convertweightwithtargetunit">convertWeightWithTargetUnit</h3>
<p>&#x6839;&#x636E;&#x63D0;&#x4F9B;&#x7684; kg &#x6570;&#x503C;&#x7684;&#x4F53;&#x91CD;&#xFF0C;&#x8F6C;&#x5316;&#x4E3A;&#x6307;&#x5B9A;&#x5355;&#x4F4D;&#x7684;&#x6570;&#x503C;</p>
<blockquote>
<p>&#x4E0D;&#x652F;&#x6301; st&#xFF0C;&#x5982;&#x679C;&#x4F20; st &#x4F1A;&#x76F4;&#x63A5;&#x8FD4;&#x56DE; lb &#x7684;&#x6570;&#x503C;&#xFF0C;&#x5373;&#x4F20; lb &#x6216; st &#x8FD4;&#x56DE;&#x4E00;&#x6837;&#x7684;&#x503C;&#xFF0C;APP &#x9700;&#x8981;&#x76F4;&#x63A5;&#x8F6C;&#x5316;&#x82F1;&#x77F3;&#x7684;&#x5355;&#x4F4D;&#xFF0C;1st=14lb&#xFF0C;&#x6BD4;&#x5982; 145.2lb &#x4F1A;&#x663E;&#x793A;&#x6210; 10 st 5.2 lb.</p>
</blockquote>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">kgWeight</td>
<td style="text-align:left">double</td>
<td style="text-align:left">&#x5343;&#x514B;&#x6570;&#x503C;&#x7684;&#x4F53;&#x91CD;</td>
</tr>
<tr>
<td style="text-align:left">unit</td>
<td style="text-align:left">int</td>
<td style="text-align:left">0 &#x4E3A; kg&#xFF0C;&#x9ED8;&#x8BA4;&#x503C; <br>1 &#x4E3A; lb,&#x78C5;&#xFF0C;&#x6240;&#x6709;&#x79E4;&#x90FD;&#x80FD;&#x591F;&#x652F;&#x6301;&#x8FD9;&#x4E2A;&#x5355;&#x4F4D; <br>2 &#x4E3A; &#x65A4;&#xFF0C;&#x79E4;&#x7AEF;&#x5982;&#x679C;&#x4E0D;&#x652F;&#x6301;&#xFF0C;&#x5219;&#x4F1A;&#x663E;&#x793A; kg <br></td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B;&#xFF1A;double</p>
<p>&#x8FD4;&#x56DE;&#x6307;&#x5B9A;&#x5355;&#x4F4D;&#x7684;&#x6570;&#x503C;</p>
<h3 id="builddevice">buildDevice</h3>
<p>&#x521B;&#x5EFA; SDK &#x84DD;&#x7259;&#x5BF9;&#x8C61;&#x7684;&#x5DE5;&#x5382;&#x65B9;&#x6CD5;&#xFF0C;&#x7528;&#x6765;&#x534F;&#x52A9;&#x652F;&#x6301;&#x5BA2;&#x6237;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<h4 id="android">android</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left">BluetoothDevice</td>
<td style="text-align:left">&#x8C03;&#x7528;&#x7CFB;&#x7EDF;&#x626B;&#x63CF;&#xFF0C;&#x8FD4;&#x56DE;&#x7684;&#x84DD;&#x7259;&#x5BF9;&#x8C61;</td>
</tr>
<tr>
<td style="text-align:left">rssi</td>
<td style="text-align:left">int</td>
<td style="text-align:left">&#x8C03;&#x7528;&#x7CFB;&#x7EDF;&#x626B;&#x63CF;&#xFF0C;&#x8FD4;&#x56DE;&#x7684;&#x4FE1;&#x53F7;&#x5F3A;&#x5EA6;</td>
</tr>
<tr>
<td style="text-align:left">scanRecord</td>
<td style="text-align:left">byte[]</td>
<td style="text-align:left">&#x8C03;&#x7528;&#x7CFB;&#x7EDF;&#x626B;&#x63CF;&#xFF0C;&#x8FD4;&#x56DE;&#x7684;&#x84DD;&#x7259;&#x5E7F;&#x64AD;&#x6570;&#x636E;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x6B64;&#x6B21;&#x521B;&#x5EFA;&#x8BBE;&#x5907;&#x5BF9;&#x8C61;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x6210;&#x529F;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x6210;&#x529F;&#x5219;&#x8FD4;&#x56DE;&#x9519;&#x8BEF;&#x7801;&#x548C;&#x9519;&#x8BEF;&#x539F;&#x56E0;&#x3002;</td>
</tr>
</tbody>
</table>
<h4 id="ios">ios</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">peripheral</td>
<td style="text-align:left">CBPeripheral</td>
<td style="text-align:left">&#x5916;&#x8BBE;&#x5BF9;&#x8C61;</td>
</tr>
<tr>
<td style="text-align:left">advertisementData</td>
<td style="text-align:left">[String: Any]</td>
<td style="text-align:left">&#x84DD;&#x7259;&#x5E7F;&#x64AD;&#x6570;&#x636E;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x6B64;&#x6B21;&#x521B;&#x5EFA;&#x8BBE;&#x5907;&#x5BF9;&#x8C61;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x6210;&#x529F;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x6210;&#x529F;&#x5219;&#x8FD4;&#x56DE;&#x9519;&#x8BEF;&#x7801;&#x548C;&#x9519;&#x8BEF;&#x539F;&#x56E0;&#x3002;</td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B; <a href="QNBleDevice.html">QNBleDevice</a></p>
<p>&#x76F4;&#x63A5;&#x8FD4;&#x56DE;&#x6839;&#x636E;&#x53C2;&#x6570;&#x6240;&#x521B;&#x5EFA;&#x7684;Yolanda&#x8BBE;&#x5907;&#x5BF9;&#x8C61;&#xFF0C;&#x5982;&#x679C;&#x521B;&#x5EFA;&#x4E0D;&#x6210;&#x529F;&#x5219;&#x8FD4;&#x56DE; NULL</p>
<h3 id="buildprotocolhandler">buildProtocolHandler</h3>
<p>&#x521B;&#x5EFA;&#x84DD;&#x7259;&#x534F;&#x8BAE;&#x5904;&#x7406;&#x5668;&#xFF0C;&#x7528;&#x6765;&#x534F;&#x52A9;&#x5BA2;&#x6237;&#x81EA;&#x5DF1;&#x7BA1;&#x7406;&#x84DD;&#x7259;&#x8FDE;&#x63A5;</p>
<blockquote>
<p>&#x81EA;&#x5DF1;&#x7BA1;&#x7406;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#x9700;&#x8981;&#x5BF9;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#x76F8;&#x5173; API &#x6709;&#x4E00;&#x5B9A;&#x4E86;&#x89E3;&#xFF0C;&#x8C28;&#x614E;&#x4F7F;&#x7528;</p>
</blockquote>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left"><a href="QNBleDevice.html">QNBleDevice</a></td>
<td style="text-align:left">&#x9700;&#x8981;&#x8FDE;&#x63A5;&#x7684;&#x79E4;&#x8BBE;&#x5907;&#xFF0C;&#x53EF;&#x4EE5;&#x7528;<a href="#buildDevice">buildDevice</a>&#x521B;&#x5EFA;</td>
</tr>
<tr>
<td style="text-align:left">user</td>
<td style="text-align:left"><a href="QNUser.html">QNUser</a></td>
<td style="text-align:left">&#x4F7F;&#x7528;&#x7684;&#x7528;&#x6237;&#x6A21;&#x578B;&#xFF0C;&#x53EF;&#x4EE5;&#x7528;<a href="#buildUser">buildUser</a>&#x521B;&#x5EFA;</td>
</tr>
<tr>
<td style="text-align:left">delegate</td>
<td style="text-align:left"><a href="QNBleProtocolDelegate.html">QNBleProtocolDelegate</a></td>
<td style="text-align:left">&#x534F;&#x8BAE;&#x5904;&#x7406;&#x7C7B;&#x7684;&#x8F85;&#x52A9;&#x7C7B;&#xFF0C;&#x534F;&#x52A9;&#x64CD;&#x4F5C;&#x84DD;&#x7259;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B; <a href="QNBleProtocolHandler.html">QNBleProtocolHandler</a></p>
<p>&#x5982;&#x679C;&#x521B;&#x5EFA;&#x5931;&#x8D25;&#xFF0C;&#x4F1A;&#x8FD4;&#x56DE; null/nil&#x3002;&#x5E76;&#x5728; callback &#x8FD4;&#x56DE;&#x9519;&#x8BEF;&#x7801;&#x3002;</p>
<h3 id="generatescaledata">generateScaleData</h3>
<p>&#x751F;&#x6210;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#xFF0C;&#x5982;&#x679C;&#x53C2;&#x6570;&#x5F02;&#x5E38;&#xFF0C;&#x8BE5;&#x65B9;&#x6CD5;&#x4F1A;&#x8FD4;&#x56DE; NUL</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">user</td>
<td style="text-align:left"><a href="QNUser.html">QNUser</a></td>
<td style="text-align:left">&#x8BE5;&#x6761;&#x6570;&#x636E;&#x7684;&#x6240;&#x5C5E;&#x7528;&#x6237;</td>
</tr>
<tr>
<td style="text-align:left">modeId</td>
<td style="text-align:left">String</td>
<td style="text-align:left">&#x578B;&#x53F7;&#x6807;&#x8BC6;</td>
</tr>
<tr>
<td style="text-align:left">weight</td>
<td style="text-align:left">Double</td>
<td style="text-align:left">&#x4F53;&#x91CD;&#xFF0C;&#x5355;&#x4F4D;&#x4E3A; kg</td>
</tr>
<tr>
<td style="text-align:left">resistance</td>
<td style="text-align:left">int</td>
<td style="text-align:left">50 &#x963B;&#x6297;&#x503C;</td>
</tr>
<tr>
<td style="text-align:left">secResistance</td>
<td style="text-align:left">int</td>
<td style="text-align:left">500 &#x963B;&#x6297;&#x503C;</td>
</tr>
<tr>
<td style="text-align:left">heartRate</td>
<td style="text-align:left">int</td>
<td style="text-align:left">&#x5FC3;&#x7387;&#x503C;&#xFF0C;&#x82E5;&#x65E0;&#x5219;&#x8D4B;&#x503C; 0</td>
</tr>
<tr>
<td style="text-align:left">measureTime</td>
<td style="text-align:left">Date</td>
<td style="text-align:left">&#x6D4B;&#x91CF;&#x65F6;&#x95F4;</td>
</tr>
<tr>
<td style="text-align:left">hmac</td>
<td style="text-align:left">String</td>
<td style="text-align:left">&#x76F8;&#x5173;&#x6570;&#x636E;&#x7B7E;&#x540D;</td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B;&#xFF1A;<a href="QNScaleData.html">QNScaleData</a></p>
<p>&#x9519;&#x8BEF;&#x65F6;&#xFF0C;&#x8FD4;&#x56DE; NULL</p>
<h3 id="physiquecalculation">physiqueCalculation</h3>
<p>&#x63A8;&#x7B97;&#x7528;&#x6237;&#x4F53;&#x8D28;&#x6570;&#x636E;&#xFF0C;&#x5982;&#x679C;SDK&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#x4E2D;&#x672A;&#x5F00;&#x542F;<code>&#x4F53;&#x8D28;&#x63A8;&#x7B97;</code>&#x529F;&#x80FD;&#x9009;&#x9879;, &#x8BE5;&#x65B9;&#x6CD5;&#x4F1A;&#x8FD4;&#x56DE; NUL</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">user</td>
<td style="text-align:left"><a href="QNUser.html">QNUser</a></td>
<td style="text-align:left">&#x8BE5;&#x6761;&#x6570;&#x636E;&#x7684;&#x6240;&#x5C5E;&#x7528;&#x6237;</td>
</tr>
<tr>
<td style="text-align:left">weight</td>
<td style="text-align:left">Double</td>
<td style="text-align:left">&#x4F53;&#x91CD;&#xFF0C;&#x5355;&#x4F4D;&#x4E3A; kg</td>
</tr>
<tr>
<td style="text-align:left">area</td>
<td style="text-align:left">Int</td>
<td style="text-align:left">&#x7528;&#x6237;&#x6240;&#x5C5E;&#x533A;&#x57DF; 0: &#x5176;&#x4ED6;&#x533A;&#x57DF; 1: &#x4E9A;&#x6D32;&#x533A;&#x57DF;</td>
</tr>
<tr>
<td style="text-align:left">measureTime</td>
<td style="text-align:left">Date</td>
<td style="text-align:left">&#x6D4B;&#x91CF;&#x65F6;&#x95F4;</td>
</tr>
</tbody>
</table>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x7C7B;&#x578B;&#xFF1A;<a href="QNScaleData.html">QNScaleData</a></p>
<p>&#x9519;&#x8BEF;&#x65F6;&#xFF0C;&#x8FD4;&#x56DE; NULL</p>
<h3 id="switchuserscaleuser">switchUserScaleUser</h3>
<p>&#x7528;&#x6237;&#x79E4;&#x8BBE;&#x5907;&#x8FDE;&#x63A5;&#x6210;&#x529F;&#x540E; &#x66F4;&#x65B0;&#x94FE;&#x63A5;&#x7528;&#x6237;&#x4FE1;&#x606F;&#xFF0C;&#x4F1A;&#x5728; <a href="QNUserScaleDataListener.html">QNUserScaleDataListener</a> &#x4E2D;&#x56DE;&#x8C03;&#xFF0C;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x4F1A;&#x5728; QNScaleDataListener &#x8FDB;&#x884C;&#x56DE;&#x8C03;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">user</td>
<td style="text-align:left"><a href="QNUser.html">QNUser</a></td>
<td style="text-align:left">&#x7528;&#x6237;&#x4FE1;&#x606F;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x66F4;&#x65B0;&#x79E4;&#x7AEF;&#x7528;&#x6237;&#x4FE1;&#x606F;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;&#xFF08;&#x5E76;&#x975E;&#x79E4;&#x7AEF;&#x7528;&#x6237;&#x4FE1;&#x606F;&#x5DF2;&#x66F4;&#x65B0;&#xFF09;</td>
</tr>
</tbody>
</table>
<h3 id="updateuserscaleidentifyweight">updateUserScaleIdentifyWeight</h3>
<p>&#x7528;&#x4E8E;&#x66F4;&#x65B0;&#x7528;&#x6237;&#x79E4;&#x8BC6;&#x522B;&#x7528;&#x6237;&#x4F53;&#x91CD;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">weight</td>
<td style="text-align:left">double</td>
<td style="text-align:left">&#x4E0B;&#x53D1;&#x4F53;&#x91CD;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x66F4;&#x65B0;&#x7528;&#x6237;&#x79E4;&#x64CD;&#x4F5C;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h3 id="deletescaleusers">deleteScaleUsers</h3>
<p>&#x7528;&#x4E8E;&#x5220;&#x9664;&#x7528;&#x6237;&#x79E4;&#x79E4;&#x7AEF;&#x7528;&#x6237;&#x4FE1;&#x606F;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">indexList</td>
<td style="text-align:left">[int]</td>
<td style="text-align:left">&#x7528;&#x6237;&#x7D22;&#x5F15;&#x6570;&#x7EC4;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x5220;&#x9664;&#x7528;&#x6237;&#x79E4;&#x79E4;&#x7AEF;&#x7528;&#x6237;&#x4FE1;&#x606F;&#x662F;&#x5426;&#x8C03;&#x7528;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h2 id="&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;&#x76F8;&#x5173;api">&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;&#x76F8;&#x5173;Api</h2>
<h3 id="setblerulerlistener">setBleRulerListener</h3>
<p>&#x8BBE;&#x7F6E;&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;&#x76D1;&#x542C;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">listener</td>
<td style="text-align:left"><a href="QNBleRulerListener.html">QNBleRulerListener</a></td>
<td style="text-align:left">&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;&#x7684;&#x76D1;&#x542C;</td>
</tr>
</tbody>
</table>
<h3 id="connectrulerdevice">connectRulerDevice</h3>
<p>&#x8FDE;&#x63A5;&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<table>
<thead>
<tr>
<th style="text-align:left">&#x540D;&#x79F0;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">device</td>
<td style="text-align:left"><a href="QNBleRulerDevice.html">QNBleRulerDevice</a></td>
<td style="text-align:left">&#x53D1;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;&#x8BBE;&#x5907;</td>
</tr>
<tr>
<td style="text-align:left">callback</td>
<td style="text-align:left"><a href="QNResultCallback.html">QNResultCallback</a></td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x8C03;&#x7528;&#x8FDE;&#x63A5;&#x56F4;&#x5EA6;&#x5C3A;&#x65B9;&#x6CD5;&#x662F;&#x5426;&#x6210;&#x529F;</td>
</tr>
</tbody>
</table>
<h3 id="readauthdeviceinfolist">readAuthDeviceInfoList</h3>
<p>&#x8BFB;&#x53D6;&#x6388;&#x6743;&#x8BBE;&#x5907;&#x4FE1;&#x606F;&#x5217;&#x8868;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<p>&#x65E0;</p>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>&#x8BBE;&#x5907;&#x4FE1;&#x606F;&#x96C6;&#x5408;</p>
<h3 id="readsdkconfigurationinfo">readSDKConfigurationInfo</h3>
<p>&#x8BFB;&#x53D6;SDK&#x6388;&#x6743;&#x914D;&#x7F6E;&#x4FE1;&#x606F;</p>
<h4 id="&#x53C2;&#x6570;">&#x53C2;&#x6570;</h4>
<p>&#x65E0;</p>
<h4 id="&#x8FD4;&#x56DE;&#x503C;">&#x8FD4;&#x56DE;&#x503C;</h4>
<p>String</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="QNBleApi.html#initsdk" class="navigation navigation-next navigation-unique" aria-label="Next page: initSdk">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"QNBleApi","level":"1.5.1","depth":2,"next":{"title":"initSdk","level":"1.5.1.1","depth":3,"anchor":"#initsdk","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#initsdk","articles":[]},"previous":{"title":"API","level":"1.5","depth":1,"ref":"","articles":[{"title":"QNBleApi","level":"1.5.1","depth":2,"path":"api/QNBleApi.md","ref":"api/QNBleApi.md","articles":[{"title":"initSdk","level":"1.5.1.1","depth":3,"anchor":"#initsdk","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#initsdk","articles":[]},{"title":"getCurSystemBleState","level":"1.5.1.2","depth":3,"anchor":"#getcursystemblestate","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#getcursystemblestate","articles":[]},{"title":"setSysBleStateListener","level":"1.5.1.3","depth":3,"anchor":"#setsysblestatelistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setsysblestatelistener","articles":[]},{"title":"setBleDeviceDiscoveryListener","level":"1.5.1.4","depth":3,"anchor":"#setbledevicediscoverylistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setbledevicediscoverylistener","articles":[]},{"title":"setBleConnectionChangeListener","level":"1.5.1.5","depth":3,"anchor":"#setbleconnectionchangelistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setbleconnectionchangelistener","articles":[]},{"title":"setDataListener","level":"1.5.1.6","depth":3,"anchor":"#setdataListener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setdataListener","articles":[]},{"title":"setBleKitchenListener","level":"1.5.1.7","depth":3,"anchor":"#setblekitchenlistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblekitchenlistener","articles":[]},{"title":"setLogListener","level":"1.5.1.8","depth":3,"anchor":"#setloglistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setloglistener","articles":[]},{"title":"startBleDeviceDiscovery","level":"1.5.1.9","depth":3,"anchor":"#startbledevicediscovery","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#startbledevicediscovery","articles":[]},{"title":"stopBleDeviceDiscovery","level":"1.5.1.10","depth":3,"anchor":"#stopbledevicediscovery","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#stopbledevicediscovery","articles":[]},{"title":"connectDevice","level":"1.5.1.11","depth":3,"anchor":"#connectdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectdevice","articles":[]},{"title":"connectUserScaleDevice","level":"1.5.1.12","depth":3,"anchor":"#connectuserscaledevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectuserscaledevice","articles":[]},{"title":"connectBleKitchenDevice","level":"1.5.1.13","depth":3,"anchor":"#connectblekitchendevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectblekitchendevice","articles":[]},{"title":"setBleKitchenDeviceConfig","level":"1.5.1.14","depth":3,"anchor":"#setblekitchendeviceconfig","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblekitchendeviceconfig","articles":[]},{"title":"disconnectDevice","level":"1.5.1.15","depth":3,"anchor":"#disconnectdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#disconnectdevice","articles":[]},{"title":"getConfig","level":"1.5.1.16","depth":3,"anchor":"#getconfig","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#getconfig","articles":[]},{"title":"convertWeightWithTargetUnit","level":"1.5.1.17","depth":3,"anchor":"#convertweightwithtargetunit","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#convertweightwithtargetunit","articles":[]},{"title":"buildDevice","level":"1.5.1.18","depth":3,"anchor":"#builddevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#builddevice","articles":[]},{"title":"buildProtocolHandler","level":"1.5.1.19","depth":3,"anchor":"#buildprotocolhandler","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#buildprotocolhandler","articles":[]},{"title":"generateScaleData","level":"1.5.1.20","depth":3,"anchor":"#generatescaledata","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#generatescaledata","articles":[]},{"title":"physiqueCalculation","level":"1.5.1.21","depth":3,"anchor":"#physiquecalculation","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#physiquecalculation","articles":[]},{"title":"switchUserScaleUser","level":"1.5.1.22","depth":3,"anchor":"#switchuserscaleuser","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#switchuserscaleuser","articles":[]},{"title":"updateUserScaleIdentifyWeight","level":"1.5.1.23","depth":3,"anchor":"#updateuserscaleidentifyweight","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#updateuserscaleidentifyweight","articles":[]},{"title":"deleteScaleUsers","level":"1.5.1.24","depth":3,"anchor":"#deletescaleusers","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#deletescaleusers","articles":[]},{"title":"setBleRulerListener","level":"1.5.1.25","depth":3,"anchor":"#setblerulerlistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblerulerlistener","articles":[]},{"title":"connectRulerDevice","level":"1.5.1.26","depth":3,"anchor":"#connectrulerdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectrulerdevice","articles":[]}]},{"title":"QNUser","level":"1.5.2","depth":2,"path":"api/QNUser.md","ref":"api/QNUser.md","articles":[]},{"title":"QNScaleData","level":"1.5.3","depth":2,"path":"api/QNScaleData.md","ref":"api/QNScaleData.md","articles":[]},{"title":"QNScaleStoreData","level":"1.5.4","depth":2,"path":"api/QNScaleStoreData.md","ref":"api/QNScaleStoreData.md","articles":[]},{"title":"QNScaleItemData","level":"1.5.5","depth":2,"path":"api/QNScaleItemData.md","ref":"api/QNScaleItemData.md","articles":[]},{"title":"QNBleDevice","level":"1.5.6","depth":2,"path":"api/QNBleDevice.md","ref":"api/QNBleDevice.md","articles":[]},{"title":"QNBleBroadcastDevice","level":"1.5.7","depth":2,"path":"api/QNBleBroadcastDevice.md","ref":"api/QNBleBroadcastDevice.md","articles":[]},{"title":"QNBleKitchenDevice","level":"1.5.8","depth":2,"path":"api/QNBleKitchenDevice.md","ref":"api/QNBleKitchenDevice.md","articles":[]},{"title":"QNConfig","level":"1.5.9","depth":2,"path":"api/QNConfig.md","ref":"api/QNConfig.md","articles":[]},{"title":"QNWiFiConfig","level":"1.5.10","depth":2,"path":"api/QNWiFiConfig.md","ref":"api/QNWiFiConfig.md","articles":[]},{"title":"QNUserScaleConfig","level":"1.5.11","depth":2,"path":"api/QNUserScaleConfig.md","ref":"api/QNUserScaleConfig.md","articles":[]},{"title":"QNBleKitchenConfig","level":"1.5.12","depth":2,"path":"api/QNBleKitchenConfig.md","ref":"api/QNBleKitchenConfig.md","articles":[]},{"title":"QNBleStateListener","level":"1.5.13","depth":2,"path":"api/QNBleStateListener.md","ref":"api/QNBleStateListener.md","articles":[]},{"title":"QNBleDeviceDiscoveryListener","level":"1.5.14","depth":2,"path":"api/QNBleDeviceDiscoveryListener.md","ref":"api/QNBleDeviceDiscoveryListener.md","articles":[]},{"title":"QNBleConnectionChangeListener","level":"1.5.15","depth":2,"path":"api/QNBleConnectionChangeListener.md","ref":"api/QNBleConnectionChangeListener.md","articles":[]},{"title":"QNScaleDataListener","level":"1.5.16","depth":2,"path":"api/QNScaleDataListener.md","ref":"api/QNScaleDataListener.md","articles":[]},{"title":"QNUserScaleDataListener","level":"1.5.17","depth":2,"path":"api/QNUserScaleDataListener.md","ref":"api/QNUserScaleDataListener.md","articles":[]},{"title":"QNBleKitchenListener","level":"1.5.18","depth":2,"path":"api/QNBleKitchenListener.md","ref":"api/QNBleKitchenListener.md","articles":[]},{"title":"QNLogListener","level":"1.5.19","depth":2,"path":"api/QNLogListener.md","ref":"api/QNLogListener.md","articles":[]},{"title":"QNResultCallback","level":"1.5.20","depth":2,"path":"api/QNResultCallback.md","ref":"api/QNResultCallback.md","articles":[]},{"title":"QNShareData","level":"1.5.21","depth":2,"path":"api/QNShareData.md","ref":"api/QNShareData.md","articles":[]},{"title":"QNUtils","level":"1.5.22","depth":2,"path":"api/QNUtils.md","ref":"api/QNUtils.md","articles":[]},{"title":"QNBleProtocolHandler","level":"1.5.23","depth":2,"path":"api/QNBleProtocolHandler.md","ref":"api/QNBleProtocolHandler.md","articles":[]},{"title":"QNBleProtocolDelegate","level":"1.5.24","depth":2,"path":"api/QNBleProtocolDelegate.md","ref":"api/QNBleProtocolDelegate.md","articles":[]},{"title":"QNWspScaleDataListener","level":"1.5.25","depth":2,"path":"api/QNWspScaleDataListener.md","ref":"api/QNWspScaleDataListener.md","articles":[]},{"title":"QNBleRulerDevice","level":"1.5.26","depth":2,"path":"api/QNBleRulerDevice.md","ref":"api/QNBleRulerDevice.md","articles":[]},{"title":"QNBleRulerData","level":"1.5.27","depth":2,"path":"api/QNBleRulerData.md","ref":"api/QNBleRulerData.md","articles":[]},{"title":"QNBleRulerListener","level":"1.5.28","depth":2,"path":"api/QNBleRulerListener.md","ref":"api/QNBleRulerListener.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["mermaid-gb3"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"mermaid-gb3":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh","gitbook":"*"},"file":{"path":"api/QNBleApi.md","mtime":"2022-12-12T02:59:26.578Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-01-16T11:02:39.181Z"},"basePath":"..","book":{"language":"zh"}});
        });
    </script>
</div>

        
    
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

